function Html()
local Browser = vgui.Create( "DFrame" )
Browser:SetPos( 0,0 )
Browser:SetSize( ScrW(), ScrH() )
Browser:SetTitle( "JcWeb" )
Browser:SetVisible( true )
Browser:SetDraggable( false )
Browser:ShowCloseButton( true )
Browser:MakePopup()

local start = ""

	local html = vgui.Create( "HTML", Browser )
	html:SetPos(5,40)
	html:SetSize(ScrW()-5, ScrH()-45)
	html:StartAnimate(45)
	html:Refresh(true)
	html:OpenURL(start)
	
	local HomeButton = vgui.Create( "DButton", Browser ) 
	HomeButton:SetPos( 115, 4 )
	HomeButton:SetSize( 45, 15 )
	HomeButton:SetText( "Home" )
	HomeButton.DoClick = function()
		html:OpenURL("http://jovacentral.com")
	end
	
	local URL = vgui.Create( "DTextEntry", Browser )
	URL:SetPos(5,24)
	URL:SetSize(ScrW()-10, 15)
	URL:SetText("ENTER URL HERE (DO NOT TYPE 'http://'!)")
	URL.OnMousePressed = function()
		URL:SetText("")
		URL:RequestFocus()
	end
	URL.OnEnter = function()
	
local curtext = URL:GetValue()
	html:OpenURL("http://"..tostring(curtext))
	LocalPlayer():ChatPrint( "Opened url: '"..tostring(curtext).."' successfully." )
end
	
	local RefreshButton = vgui.Create( "DButton", Browser ) 
	RefreshButton:SetPos( 55, 4 )
	RefreshButton:SetSize( 45, 15 )
	RefreshButton:SetText( "Refresh" )
	RefreshButton.DoClick = function()
		html:Refresh()
	end
end
concommand.Add( "browser", Html )